﻿package {
	/* Our framework */
    import org.flixel.*;

	/* Defines the resolution of the swf player */
    [SWF(width = "640", height = "480", backgroundColor = "#000000")]
	
	/* Indicates to enter in preloader first */
    [Frame(factoryClass="Preloader")]

	/*
	 * All starts here, if the states changes,
	 * that class remains the same, but if the 
	 * page is reloaded, that class reset
	 */
    public class Main extends FlxGame {
		
		/* Avoids the high score reset after every play */
		internal static var _high_score:uint = 0;
		
		/* Constructor */
        public function Main() {
			
			/* Now we call the first state */
            super(640, 480, StateMenu, 1);
			
			/* When release the game set to false */
            FlxG.debug = true;
        }
    }
}
